<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.abi${classpath}.dao.mapper.${tableName_Iii}Mapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.abi${classpath}.dao.entity.${tableName_Iii}">
        <id column="ID" property="id" />
        <#list columnList as temp>
            <#if temp.columnName_I_I=="ID">
            <#else>
        <result column="${temp.columnName_I_I}" property="${temp.columnName_iii}" />
            </#if>
        </#list>
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        <#list columnList as temp>${temp.columnName_I_I}<#sep>, </#list>
    </sql>

</mapper>
